package com.yuncheng.oaApi.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuncheng.vo.CurrentUserVo;
import com.yuncheng.oaApi.vo.SpcytssxVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SpcyJcyFybxdtssxsqFlowMapper {



    Page<SpcytssxVo> flowJobPage(Page<SpcytssxVo> page,
                                 @Param("onlyCurrentUser") boolean onlyCurrentUser,
                                 @Param("user") CurrentUserVo user,
                                 @Param("spcyFlowVo") SpcytssxVo spcytssxVo);

    Page<SpcytssxVo> flowJkPage(Page<SpcytssxVo> page,
                                  @Param("onlyCurrentUser") boolean onlyCurrentUser,
                                  @Param("user") CurrentUserVo user,
                                  @Param("spcyFlowVo") SpcytssxVo spcytssxVo);

    List<SpcytssxVo> flowJkList(
            @Param("onlyCurrentUser") boolean onlyCurrentUser,
            @Param("user") CurrentUserVo user,
            @Param("spcyFlowVo") SpcytssxVo spcytssxVo);


    Page<SpcytssxVo> selectmyyb(Page<SpcytssxVo> page, @Param("spcyFlowVo") SpcytssxVo spcytssxVo);

    Page<SpcytssxVo> myYbFlowPage(Page<SpcytssxVo> page,
                                    @Param("onlyCurrentUser") boolean onlyCurrentUser,
                                    @Param("user") CurrentUserVo user,
                                    @Param("spcyFlowVo") SpcytssxVo spcytssxVo);

}
